def sum(a: int, b: int) -> int:
    if a.isdigit() == False or b.isdigit() == False:
        print("输出参数类型非法")
    else:
        return a + b


if __name__ == "__main__":
    print(sum("10", "20"))
